import { Input } from "antd"
import { FC } from "react"

import { SFormItem } from "@/components/common"
import { useLocale } from "@/locales"

const LoginDeviceNumberInput: FC<any> = ({ inputProps }) => {
	const { formatMessage } = useLocale()
	return (
		<SFormItem label={formatMessage({ id: "risk.terminal_info" })} name={"terminalInfo"}>
			<Input placeholder={formatMessage({ id: "label.please_enter" })} {...inputProps} />
		</SFormItem>
	)
}

export default LoginDeviceNumberInput
